So what would be the effect of a gravity assist fly by on Jupiter
It would slow down the planet slightly, just like the train would slow down slightly in previous exampleJupiter is 1.9x10^27 kgs; New Horizons 500 kgSo 4x10^24 ratioIf New Horizons gained 4000 m/s, then Jupiter would have lost about 10^(-21)m/s (the actual math is more complex, but this works for our purpose)This does change Jupiter's speed, and makes the year shorter there - but only by few dozen nanoseconds by the time the sun flames out in 5 billion yearsSo, how many flybys would it take to make any significant difference?New Horizons mission cost US govt $700M over 2001-2016Over this time US govt spend $48000 Billion for other things (well, all other things)So if we diverted all that spend into launching New Horizons, we could launch about 70,000 of thoseThat has other repercussions, in terms of amount of nuclear fuel requiredWorse, the chances of accidental radioactive release on these launches is about 1/300, so there would be 200 of those to deal with!With all this put together, we could shave off 2 ms off Jupiters calendar over next 5 Billion years!Actually, earth only weighs (6x10^24 kg) a fraction of Jupiter (1/300) so even if we flung the whole earth at Jupiter, it would only slow down by a fraction of percentage - few dozen miles an hourJust like if you wanted to stop the train by throwing tennis balls at it!